/* form */
.ivu-input,
.ivu-checkbox-wrapper,
.custom-ivu-form.ivu-form .ivu-form-item-label {
  font-size: 14px;
  color: var(--app-text-2);
}

.ivu-select-single .ivu-select-selection .ivu-select-placeholder,
.ivu-select-single .ivu-select-selection .ivu-select-selected-value,
.ivu-select-item {
  font-size: 14px !important;
}

.ivu-btn {
  font-size: 14px;
}

.ivu-btn--round {
  padding: 2px 25px 4px;
  border-radius: 6px;
}

.ivu-poptip-popper .ivu-btn {
  font-size: 12px;
}

.ivu-btn-primary {
  background-color: var(--app-text-active);
  border-color: var(--app-text-active);
}

.ivu-select-disabled .ivu-select-selection,
.ivu-input[disabled] {
  color: var(--app-text-3);
}

/* table */
.ivu-table-wrapper.custom-ivu-table {
  border: none;
  .ivu-table th {
    background-color: #fafafa;
  }

  .ivu-table-header {
    font-size: 13px;
  }
  .ivu-table:after {
    display: none;
  }
}

/* pagination */
.pagination-container {
  .ivu-page-item,
  .ivu-page-item-jump-next,
  .ivu-page-item-jump-prev,
  .ivu-page-next,
  .ivu-page-prev {
    min-width: 22px;
    height: 22px;
    line-height: 20px;
  }

  .ivu-select-single .ivu-select-selection,
  .ivu-page-options-elevator input {
    height: 24px;
  }
  .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
  .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
    height: 24px;
    line-height: 24px;
  }
}

/* radio */
.ivu-radio-wrapper {
  font-size: 14px;
  color: var(--app-text-2);
}

/* textarea */
textarea.ivu-input {
  height: 100%;
}

/* tabs */
.custom-tabs .ivu-tabs-bar {
  border: none;
}

.ivu-tabs-nav .ivu-tabs-tab-active {
  color: var(--app-text-active);
}

.custom-tabs .ivu-tabs-nav .ivu-tabs-tab {
  padding: 4px 0;
}

.ivu-tabs-ink-bar {
  background-color: var(--app-text-active);
}

/* modal */
.custom-modal {
  .ivu-form-item {
    margin-bottom: 12px;
  }

  .ivu-form-item:last-child {
    margin-bottom: 0;
  }
}

.ivu-modal-confirm {
  .ivu-icon-ios-help-circle:before {
    content: '\F202';
  }
}

/*  ul */
.custom-tree.ivu-tree {
  ul {
    font-size: 14px;
  }
}

/* icon */
.ivu-icon.icon-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* dropdown */
.ivu-dropdown-item {
  font-size: 14px !important;
}

/* ivu-tree  */
.ivu-tree .ivu-checkbox-wrapper {
  width: 0;
  height: 0;
  margin-right: 14px;
}